package com.rzjm.exercise.module.service;

import com.rzjm.exercise.common.base.service.BaseService;
import com.rzjm.exercise.module.domain.TerminalTemperature;

import java.util.List;
import java.util.Map;

/**
 * 设备温度记录列表
 * @author mr.zhou
 * @email zhouwei_ncie@163.com
 * @date 2020-12-15 22:36:23
 */
public interface TerminalTemperatureService extends BaseService<TerminalTemperature> {

    List<TerminalTemperature> getListByTerminalId(Map<String, Object> map);

    Map<String,Object> getChartData(Map<String, Object> map);

    Map<String,Object> getChartData(Integer deviceId,String beginDate,String endDate, Integer positionType);

    Map<String,Object> getChartDataByShopDevice(Integer shopId, int dataType, int deviceType, String searchDate, Integer positionType, Integer feedId,String feedIds,String nodeIds);

    Map<String,Object> getChartDataByDevice(Integer deviceId, int dataType, int deviceType,int shopId, int deviceShowType, String searchDate, Integer positionType, Integer feedId,String feedIds,String nodeIds);

    Long getDeviceAvgData(Map<String, Object> temperatureMap);

    List<TerminalTemperature> getTemperatureList(Map<String, Object> searchParams);
}
